package com.shirodemo.service;

import com.shirodemo.pojo.Role;

import java.util.List;

/**
 * Created by 追风少年
 *
 * @email doubihah@foxmail.com
 * @create 2017/12/13 13:25
 **/
public interface RoleService {

    /**
     * 根据用户查询角色
     * @param username
     * @return
     */
    List<Role> findRolesByUserId(String userId);

}
